@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
UNITKILLED
unit=Gandalf
attacker=ANYBODY
defender=Fellowship
@THEN
TEXT
Gandalf has fallen into shadow!
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Aragorn
attacker=ANYBODY
defender=Fellowship
@THEN
TEXT
Aragorn, son of Arathorn, has fallen. The light of the kings of old is extinguished forever.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Boromir
attacker=ANYBODY
defender=Fellowship
@THEN
TEXT
Boromir, son of Denethor, dies valiently. The horn of Gonder, cloven in twain, shall never more
be heard over the green fields of Anorien.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Legolas
attacker=ANYBODY
defender=Fellowship
@THEN
TEXT
Legolas, is struck down.
^Far away, under the eaves of Mirkwood the Great, his immortal kindred will lament him long,
and with great sorrow.
^The Green-leaf has fallen.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Gimli
attacker=ANYBODY
defender=Fellowship
@THEN
TEXT
Gimli, son of Gloin, is felled.
^His memory will live ever-on in the songs of his folk. Gimli, last Dwarf to fall in Khazad-dum.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Frodo
attacker=ANYBODY
defender=Fellowship
@THEN
TEXT
Frodo, the ring-bearer, is struck a mortal blow.
^His terrible burden will now pass to another.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Sam
attacker=ANYBODY
defender=Fellowship
@THEN
TEXT
Samwise Gamgee, faithful hobbit to the end, is struck down. Never now will he see
his beloved Shire again. Nor get chance to speak the words to Rose that he'd never dared
^He promised to stick with Frodo to the bitter end, and indeed, bitter his end has become, dying
here so far from home and in such darkness.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Merry
attacker=ANYBODY
defender=Fellowship
@THEN
TEXT
Merry has been slain!
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Pippin
attacker=ANYBODY
defender=Fellowship
@THEN
TEXT
Pippin - Peregrin Took - has been slain!
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Coins
attacker=Fellowship
defender=UnHoly
@THEN
TEXT
A cache of gold coins.
ENDTEXT
CHANGEMONEY
receiver=Fellowship
amount=80
@ENDIF

@IF
UNITKILLED
unit=Blocked
attacker=Fellowship
defender=Evil
@THEN
TEXT
The chamber ahead has just one occupant... a small and gangrelled creature. He pads about
the room bare footed, seemingly searching for something. He talks to himself incessantly... my
precious!
^Perhaps you should speak to him?
ENDTEXT
CREATEUNIT
unit=Gollum
owner=Dark
veteran=no
homecity=none
locations
111,31
endlocations
PLAYWAVEFILE
CUSTOM2.WAV
@ENDIF

@IF
UNITKILLED
unit=Door 1
attacker=Fellowship
defender=Western Tribe
@THEN
CREATEUNIT
unit=Door7
owner=Khazad-dum
veteran=no
homecity=none
locations
111,27
endlocations
@ENDIF

@IF
UNITKILLED
unit=Door 4
attacker=Fellowship
defender=Western Tribe
@THEN
TEXT
The door swings open. You feel unsure of the way ahead. It seems a hard path to take, promising
only a perilous corridor of magma, flame, darkness and many foes.
ENDTEXT
CREATEUNIT
unit=Door6
owner=Khazad-dum
veteran=no
homecity=none
locations
108,28
endlocations
@ENDIF

@IF
UNITKILLED
unit=Gollum
attacker=Fellowship
defender=Dark
@THEN
TEXT
The creature is easily captured. To your surprise you discover that it is none other than Gollum, 
the prior bearer of the One Ring that Frodo now carries!
^When subjected to questioning he admits that he has been following the party for some time.
^
^"But we meant no harm, my precious!" He says, "We was just watchin'! ..Watchin' weren't we 
precious! Don't hurt us! ...Leave us alone!"
^
^He will not admit his true purpose in following you and when pressed he flees, slipping through a 
fissure in the rock that proves to be too slim for even a hobbit to follow.
^
^Gollum is annoyed that he has been forced to run from the travellers. But ere he bewails his ill 
fortune overlong, the ring begins to call to him, gnawing at his heart and mind. He cannot resist it's 
lure. He must have it! He must!
^
^"We shouldn't have got as close as we did, not yet my precious, they're too strong for us... we're 
too weak after our time in the Blackland... We needs to follows though.. oh, yes my precious... 
we needs to find them again... Gol-lum!
ENDTEXT
CREATEUNIT
unit=Gollum
owner=Fellowship
veteran=no
homecity=none
locations
109,27
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue
attacker=Fellowship
defender=Western Tribe
@THEN
TEXT
At the end of the long and secret way lies a small chamber. A single orc skulks about the room,
he seems unhappy with his lot, a miserable creature indeed.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Door 2
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Door7
owner=Khazad-dum
veteran=no
homecity=none
locations
136,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Orc
attacker=Fellowship
defender=Dark
@THEN
TEXT
The orc drops his weapon and surrenders.
^
^"Mighty Lord! I didn't want this foul job in the first place! I hate the other goblins and they all
hate me! Spare me and I'll tell you the safe way on!"
^
^It's difficult to give credence to the word of an orc but you give him leave to speak.
^
^"The way south is treacherous foul! Take the northern passage - for that way lies no trouble! An
easy way it is... I speak only the truth, Lord... I dare not lie to mighty Lords of the West!"
^
^As you ponder his words, he runs from the room, disappearing to, you know not where.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Dark
@THEN
TEXT
The text is an old Dwarven miners journal.
^The tattered pages are fire blackened and almost unreadable. The inscriptions that are legible
point to a glimmer of hope in this dark place:
^
^"Dwarri came here long ago and laid out the beginings of a secret tunnel network. Curse me for
a fool, for I cannot rediscover it! I know it is here... but where?"
ENDTEXT
PLAYWAVEFILE
BOOK.WAV
@ENDIF

@IF
UNITKILLED
unit=Clue2
attacker=Fellowship
defender=Evil
@THEN
TEXT
The water in the chamber shimmers with a strange life of it's own.
^It seems that some ill omen stirs at the bottom of the dark waters, rising up in places to trouble
the surface with it's black menace.
^You fear to enter this place.
ENDTEXT
CREATEUNIT
unit=nothing
owner=Fellowship
veteran=no
homecity=none
locations
131,13
129,15
endlocations
@ENDIF

@IF
UNITKILLED
unit=Blocker
attacker=Fellowship
defender=Evil
@THEN
TEXT
Gollum attempts to unblock the passage. But the rocks collapse and tumble onto him. He is not
too badly injured but will retire to nurse his wounds.
ENDTEXT
PLAYWAVEFILE
CUSTOM2.WAV
@ENDIF

@IF
UNITKILLED
unit=Ghost
attacker=Fellowship
defender=UnHoly
@THEN
TEXT
Once again you greet the ghost of Great King Nolin. Though, this time seems a happier meeting.
^
^"Great gladness be upon you! For you have put right that which I made wrong. The Naugdir is
once more safe in the Anvil of Durin - already, to me, the halls of Moria are not so dark as they
were. Perhaps, better days are indeed at hand.
^"You could have taken the Naugdir for your own and gained from it the price of a kingdom! But,
you were not swayed by greed. For that I will aid you as I can."
^
^He points southward, "Do not tarry here as these doors hold only death behind them! Yonder, 
beyond the fallen Dwarf, is Dwarrowdelf. Enter in and take the left path over the great crack in 
the floor, and keep left, for that is the safest path.
^"The most southerly door therein is your exit and the East Gate is not far beyond. Good luck! I
go now to my long rest, tormented no more by my folly, thanks to you!
^"With great praise, I praise you!"
^
^With that, the Great King vanishes in a swirl of dust and light. Perhaps, as he said, better times
are indeed at hand, and with them, your escape from this place is closer too.
ENDTEXT
PLAYWAVEFILE
MCHNGUNS.WAV
@ENDIF

@IF
UNITKILLED
unit=Door 1
attacker=Fellowship
defender=UnHoly
@THEN
CREATEUNIT
unit=Door7
owner=Khazad-dum
veteran=no
homecity=none
locations
133,29
endlocations
@ENDIF

@IF
UNITKILLED
unit=Door 2
attacker=Fellowship
defender=UnHoly
@THEN
CREATEUNIT
unit=Door8
owner=Khazad-dum
veteran=no
homecity=none
locations
124,38
endlocations
@ENDIF

@IF
UNITKILLED
unit=Door 3
attacker=Fellowship
defender=Dark
@THEN
TEXT
Above the door are finely carved Dwarven Runes:
^
^"Here lies Dwarrowdelf"
^
^As you prepare to enter, you discern, from far away, the sound of a deep drumming.
ENDTEXT
CREATEUNIT
unit=Door5
owner=Khazad-dum
veteran=no
homecity=none
locations
136,38
endlocations
@ENDIF

@IF
UNITKILLED
unit=Door 1
attacker=Fellowship
defender=Evil
@THEN
TEXT
The chamber beyond the doorway is littered with the evidence of a great battle and last stand by
many Dwarves. It seems that they have lain down their lives to defend a solitary tomb.
^
^It is Balin's tomb...!
^
^It is as you feared, his expedition to Moria has resulted in failure. He and all his followers have
been slain. Their honourably earned long rest desecrated, they lie scattered about, riddled with
arrows; carrion for the theiving orcs.
^
^Once more, you hear in the distance, the sound of drums; closer now than they were before.
What could this mean?
ENDTEXT
CREATEUNIT
unit=Door8
owner=Khazad-dum
veteran=no
homecity=none
locations
163,39
endlocations
@ENDIF

@IF
UNITKILLED
unit=Corpse
attacker=Fellowship
defender=Dark
@THEN
TEXT
One of the many Dwarven dead that lie unburied in Moria.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
TEXT
As with everything in this chamber, the book is old, covered in dust and battle scarred. It's well
organised early pages are clearly a record of the return of Balin to Moria and his quest to find the
mithril vein. The later pages, particularly toward the end, are rushed and sloppy as though the
writer was pressed for time or greatly afraid: perhaps, both. They make grim reading:
^"... yesterday, Balin, Lord of Moria, fell in Dimrill Dale. An orc shot him from behind a stone.
We slew the orc, but many more...
^"They have taken the Bridge and the second hall...
^"We have become shut in. We cannot get out!
^"...drums, drums in the deep!
^"They are coming......"
^
^The last word trails off into an inky scratch and no more is written. Only the many bodies of
fallen Dwarves riddled with arrows can tell of what then must have occured. The silence that had
fallen on the room is suddenly broken by the sound of beating drums and the war cries of many
orcs.
^...They are coming!
ENDTEXT
CREATEUNIT
unit=Key
owner=Fellowship
veteran=no
homecity=none
locations
171,31
endlocations
PLAYWAVEFILE
BOOK.WAV
@ENDIF

@IF
UNITKILLED
unit=NoGo2
attacker=Fellowship
defender=Western Tribe
@THEN
TEXT
As you pass through the door a feeling of deep dread fills you.
^As though some great foe that you have not yet met is following.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Cave Troll
owner=Eastern Tribe
veteran=no
homecity=none
locations
165,29
164,30
163,31
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Uruk
owner=Eastern Tribe
veteran=no
homecity=none
locations
164,30
163,31
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Orc
owner=Eastern Tribe
veteran=no
homecity=none
locations
163,31
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Uruk
owner=Eastern Tribe
veteran=no
homecity=none
locations
168,32
167,33
166,34
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Uruk
owner=Eastern Tribe
veteran=no
homecity=none
locations
167,33
166,34
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Orc
owner=Eastern Tribe
veteran=no
homecity=none
locations
166,34
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Uruk
owner=Eastern Tribe
veteran=no
homecity=none
locations
173,37
172,38
171,39
173,39
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Cave Troll
owner=Eastern Tribe
veteran=no
homecity=none
locations
172,38
171,39
173,39
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Orc
owner=Eastern Tribe
veteran=no
homecity=none
locations
171,39
173,39
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Orc
owner=Eastern Tribe
veteran=no
homecity=none
locations
173,39
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Uruk
owner=Eastern Tribe
veteran=no
homecity=none
locations
166,36
167,37
168,38
169,39
165,37
166,38
167,39
168,40
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Uruk
owner=Eastern Tribe
veteran=no
homecity=none
locations
167,37
168,38
169,39
165,37
166,38
167,39
168,40
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Orc
owner=Eastern Tribe
veteran=no
homecity=none
locations
168,38
169,39
165,37
166,38
167,39
168,40
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Orc
owner=Eastern Tribe
veteran=no
homecity=none
locations
169,39
165,37
166,38
167,39
168,40
endlocations
@ENDIF

@IF
UNITKILLED
unit=Rune book
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=Orc
owner=Eastern Tribe
veteran=no
homecity=none
locations
165,37
166,38
167,39
168,40
endlocations
@ENDIF

@IF
UNITKILLED
unit=Door 3
attacker=Fellowship
defender=Evil
@THEN
TEXT
Once again you hear the relentless sound of drums beating.
^Who is the beater of drums?
ENDTEXT
CREATEUNIT
unit=Door5
owner=Khazad-dum
veteran=no
homecity=none
locations
165,67
endlocations
@ENDIF

@IF
UNITKILLED
unit=Door 4
attacker=Fellowship
defender=UnHoly
@THEN
CREATEUNIT
unit=Door6
owner=Khazad-dum
veteran=no
homecity=none
locations
166,30
endlocations
@ENDIF

@IF
UNITKILLED
unit=Blocked
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=No go
owner=Khazad-dum
veteran=no
homecity=none
locations
102,38
endlocations
@ENDIF

@IF
UNITKILLED
unit=Body
attacker=Fellowship
defender=Evil
@THEN
TEXT
Beyond the body of the Dwarf, the floor has fallen away in many places. Indeed, the path from
here on stands over a bottomless chasm.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Clue
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=nothing
owner=Fellowship
veteran=yes
homecity=none
locations
180,78
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue
attacker=Fellowship
defender=Eastern Tribe
@THEN
CREATEUNIT
unit=nothing
owner=Fellowship
veteran=no
homecity=none
locations
188,92
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue
attacker=Fellowship
defender=Eastern Tribe
@THEN
CREATEUNIT
unit=nothing
owner=Fellowship
veteran=yes
homecity=none
locations
192,88
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue
attacker=Fellowship
defender=Evil
@THEN
TEXT
^^The Bridge of Khazad-dum lies close at hand!
^
^But, issuing over the flames in the great hall, comes a dreadfull darkness. In it's approach it 
seems
to consume all illumination in the room, even the fiery light from the molten rock fades, but worse
still, hope itself seems swallowed whole. And where the darkness is deepest, a demon of the
ancient world stirs.
^Great wings of black smoke and shadow rise up to a terrible height, wreathing a searing flame
ablaze with malice. Durin's Bane! Shadow and flame...
^It is unlikely that you possess the strength to face this foe...
^
^"Aieee! Aieee! A BALROG! A BALROG IS COME!!!"
^
^"Over the Bridge quickly!"
^
^"FLY YOU FOOLS!"
ENDTEXT
CREATEUNIT
unit=Balrog
owner=UnHoly
veteran=no
homecity=none
locations
181,77
endlocations
PLAYWAVEFILE
CUSTOM1.WAV
@ENDIF

@IF
UNITKILLED
unit=Clue
attacker=Fellowship
defender=Eastern Tribe
@THEN
TEXT
Throwing wide the East Gate you run out onto the grassy vale of Dimrill Dale.
^The sunlight is bright and piercing, momentarily stinging your eyes. It's warmth fills you with joy 
and Moria's shadow is lifted from you. You fill your lungs with deep draughts of the fresh 
mountain air and know you are free and safe at last! It seemed so long ago now since you first 
entered the mine.
^Suddenly, both relief and grief overcome you wholly. Casting yourself upon the ground you 
weep for lost friends and saved lives.
^And, although it will forever be a dark memory, you take pride in having conquered Moria, 
braved grave perils and passed through the mountains by it's most foreboding path! Few could 
ever say as much!
^
^^Congratulations! You have completed the scenario!
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Balrog
attacker=Fellowship
defender=UnHoly
@THEN
TEXT
Durin's Bane, the towering demon of might is thrown down and destroyed! You have won a
famous victory that will be sung ever and anon in the legends of Middle-earth.
^
^As the darkness of it's terrible being is lifted from this final chamber, you espy a light coming
from the East Gate. Perhaps, the way now is clear for you to pass through?
ENDTEXT
CHANGETERRAIN
terraintype=3
maprect
188,88,188,88,188,88,188,88
@ENDIF

@IF
UNITKILLED
unit=Clue2
attacker=Fellowship
defender=Western Tribe
@THEN
TEXT
The room ahead is unnaturally silent.
ENDTEXT
CREATEUNIT
unit=nothing
owner=Fellowship
veteran=no
homecity=none
locations
127,31
endlocations
@ENDIF

@IF
UNITKILLED
unit=Blocker
attacker=Fellowship
defender=Evil
@THEN
CREATEUNIT
unit=nothing
owner=Fellowship
veteran=no
homecity=none
locations
120,20
117,19
119,17
endlocations
@ENDIF

@ENDEVENTS
